package com.kylin.domain.merchant.event;
import com.kylin.shared.enums.YesNoEnum;
import lombok.Builder;
import lombok.Value;
import org.axonframework.modelling.command.AggregateIdentifier;

import java.time.LocalDateTime;

/**
 * 创建商户完成事件
 * @author Wall.
 * @version v1.0.1
 * @date 2019年11月26日 17:25
 */
@Value
@Builder
public class MerchantCreatedEvent {

    @AggregateIdentifier
    Long id;
    String username;
    String password;
    String salt;
    String phone;
    String email;
    String qq;
    String roles;
    Integer state;
    YesNoEnum removed;
    Long createdBy;
    LocalDateTime createdAt;
}
